package com.tudouji.project.harvest.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 质检单对象 qaform
 *
 * @author tudouji
 * @date 2021-04-29
 */
@Data
public class Qaform extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 质检单编号(系统自动生成) */
    @Excel(name = "质检单编号(系统自动生成)")
    private String qacode;

    /** 货运单ID */
    @Excel(name = "货运单ID")
    private String foguid;

    /** 抽检包数 */
    @Excel(name = "抽检包数")
    private Integer chkpknum;

    /** 抽检重量 */
    @Excel(name = "抽检重量")
    private BigDecimal chkwght;

    /** 合同比率(约定比率) */
    @Excel(name = "合同比率(约定比率)")
    private BigDecimal conrate;

    /** 扣杂率 */
    @Excel(name = "扣杂率")
    private BigDecimal deductrate;

    /** 状态(1-正常 2-已验收 3-已删除) */
    @Excel(name = "状态(1-正常 2-已验收 3-已删除)")
    private Integer status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operatorid;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdate;

    /** 总合格重量 */
    @Excel(name = "总合格重量")
    private BigDecimal okweight;

    /** 总不合格重量 */
    @Excel(name = "总不合格重量")
    private BigDecimal notokweight;

    /** $column.columnComment */
    @Excel(name = "总不合格重量")
    private BigDecimal soilchkrate;

    /** $column.columnComment */
    @Excel(name = "总不合格重量")
    private BigDecimal unqualifiedchkrate;

    /** $column.columnComment */
    @Excel(name = "总不合格重量")
    private BigDecimal soilchkweight;

    /** $column.columnComment */
    @Excel(name = "总不合格重量")
    private BigDecimal unqualifiedchkweight;

    private String operatorname;

}
